﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Ohne_Titel_1</title>


<script type="text/javascript">


var counter = 0;
var countdown;


function init()
{
 var counter = 0;
 count();
}


function count()
{

if (counter < 100)
    {
    document.write (counter);
	counter++;
	   if(counter < 100) 
	   {
       countdown = setTimeout('count()', 1000);
	   }
	}

}

</script>

</head>

<body>

<input type="button" onclick="count()" value="Los"/>

</body>

</html>
